//
//  LJHFocusModel.m
//  HEARME
//
//  Created by liujinhui on 16/1/21.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "LJHFocusModel.h"
#import "LJHChildListModel.h"

@implementation LJHFocusModel
- (void)dealloc
{
    [_title release];
    //    [_list release];
    [super dealloc];
}

-(instancetype)init
{
    self = [super init];
    if (self) {
        
        
    }
    return self;
}
//重写setter方法
-(void)setList:(NSMutableArray *)list{
    if (_list != list) {
        [_list release];
        _list = [list retain];
    }
    NSMutableArray *array = [NSMutableArray array];
    for (NSDictionary *dic in _list) {
        
        LJHChildListModel *childList = [LJHChildListModel modelWithDictionary:dic];
        [array addObject:childList];
        
    }
    _list = [NSMutableArray arrayWithArray:array];
    
}
@end
